class Car:
    def __init__(self, license_plate, brand, color, price):
        self.license_plate = license_plate
        self.brand = brand
        self.color = color
        self.price = price

    def drive(self):
        print("汽车出发")

    def park(self):
        print("汽车停车")

    def refuel(self):
        print("加油")


class ElectricCar(Car):
    def __init__(self, license_plate, brand, color, price, battery_capacity, range_per_charge):
        super().__init__(license_plate, brand, color, price)
        self.battery_capacity = battery_capacity
        self.range_per_charge = range_per_charge

    def drive(self, distance):
        if distance <= self.range_per_charge:
            print("电动汽车出发")
        else:
            print("电池续航里程不够，无法驾驶")

    def charge(self):
        print("充电")